/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bradley.principals.ObjectOriented.inheritence;

/**
 *
 * @author Balla
 */
public class Employee extends Person{
    
    private String job;
    public Employee(String name, String surname, String job) {
        super(name, surname);
        setJob(job);
    }

    public String getJob() {
        return job;
    }

    public final void setJob(String job) {
        this.job = job;
    }
    
    
}
